#ifndef __NODESCONF_H__
#define __NODESCONF_H__

struct nodetable {
    char*		name;
    char*		fields;
    char*		condi;
    char*		alias;
    struct nodetable*	next;
};

struct nodename {
    char*		name;
    struct nodename*	next;
};

struct nodesection {
    struct nodename*	nodes;
    struct nodetable*	tables;
    struct nodesection*	next;
};

struct group {
    char*		name;
    struct nodename*	nodes;
    struct group*	next;
};

struct nodesconf {
    struct group*	groupsection;
    struct nodesection*	nodessection;
};

int nodesconf(struct nodesconf* conf);

#endif /* __NODESCONF_H__ */
